package com.jic.market.response.manager.lottery;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 抽奖记录表
 * @author :
 * @email :
 * @since : 2020-03-03 03:06:20
 * @version : v1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class LotteryDrawRecordResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "主键ID")
    private Long id;
    @ApiModelProperty(notes = "抽奖活动id")
    private Long themeRefId;

    @ApiModelProperty(notes = "领奖人信息id")
    private Long recieverRefId;

    @ApiModelProperty(notes = "领奖人名称")
    private String recieverName;

    @ApiModelProperty(notes = "领奖人手机号")
    private String recieverMobile;

    @ApiModelProperty(notes = "领奖人地址")
    private String recieverDetailAddress;

    @ApiModelProperty(notes = "抽奖人用户id")
    private Long memberId;

    @ApiModelProperty(notes = "抽奖人用户名称")
    private String memberName;

    @ApiModelProperty(notes = "抽奖时间")
    private Date drawTime;

    @ApiModelProperty(notes = "抽奖结果，抽奖结果，0 未中奖，1 中奖")
    private Integer drawResult;

    @ApiModelProperty(notes = "奖项等级")
    private Integer awardsLevel;

    @ApiModelProperty(notes = "奖品类别")
    private Integer awardsCategory;

    @ApiModelProperty(notes = "奖项名称")
    private String awardsName;

    @ApiModelProperty(notes = "奖品ID")
    private String awardsRefId;

    @ApiModelProperty(notes = "奖品名称")
    private String awardsRefName;

    @ApiModelProperty(notes = "奖品数量")
    private Long awardsRefNum;

    @ApiModelProperty(notes = "该类奖品对应图片链接地址")
    private String awardsRefPicUrl;

    @ApiModelProperty(notes = "抽奖所用订单号（仅订单抽奖）")
    private String refOrderCode;

    @ApiModelProperty(notes = "记录状态，0 未领取，1 已领取，2 已失效")
    private Integer status;

    @ApiModelProperty(notes = "是否可用:默认0否;1是")
    private Integer isAvailable;

    @ApiModelProperty(notes = "运营方ID")
    private Long deptid;

    @ApiModelProperty(notes = "商家ID")
    private Long merchantId;

    @ApiModelProperty(notes = "店铺Id")
    private Long storeId;

    @ApiModelProperty(notes = "创建日期")
    private Date createTime;

    @ApiModelProperty(notes = "创建用户ID")
    private Long creator;

    @ApiModelProperty(notes = "创建用户")
    private String creatorName;

    @ApiModelProperty(notes = "更新时间 数据库")
    private Date updateTime;

    @ApiModelProperty(notes = "更新用户ID")
    private Long updator;

    @ApiModelProperty(notes = "更新用户")
    private String updatorName;

    @ApiModelProperty(notes = "会员类型集合")
    private String memTypes;

}
